var tex : Texture2D;
var tex_on : Texture2D;
var button : GUITexture;
var helpInfo : GUITexture;

function Update () {
	var script : helpInfoControll = GetComponent("helpInfoControll");
	if (!script.showStart && !script.hideStart) {
		if (Input.GetMouseButton(0) && button.HitTest(new Vector3(Input.mousePosition.x, Input.mousePosition.y, 0))) {
			button.guiTexture.texture = tex_on;
			script.totalTimes = (0.5 - helpInfo.transform.position.y) / 0.01;
			script.showStart = true;
		} else {
			button.guiTexture.texture = tex;
		} 
		if (Input.GetMouseButton(0) && helpInfo.HitTest(new Vector3(Input.mousePosition.x, Input.mousePosition.y, 0))) {
			script.totalTimes = (helpInfo.transform.position.y + 0.5) / 0.01;
			script.hideStart = true;
		}
	}
}